package com.css.fxfzaqbz.modules.assess.service;

import com.css.fxfzaqbz.modules.assess.entity.DisasterAssEntity;
import com.css.fxfzaqbz.modules.assess.entity.RiskAssessmentEntity;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @author y1fan
 * @create 2022-09-09 16:01
 */
public interface DisasterService {


    DisasterAssEntity saveDisasterAss(DisasterAssEntity disasterAssEntity);

    List<DisasterAssEntity> getAllDisasterAss(String id);

    void deleteDisasterAss(String id);

    DisasterAssEntity getDisasterAssBySi(DisasterAssEntity disasterAssEntity);

    DisasterAssEntity updateDisasterAss(DisasterAssEntity disasterAssEntity, String sdaId);

    DisasterAssEntity getDisasterAssById(String id);

    DisasterAssEntity updateDisasterAssD(DisasterAssEntity disasterAssEntity);

    void firstSubmitDisasterAss(String id);

    Boolean ifRepetition(DisasterAssEntity disasterAssEntity);

    List<DisasterAssEntity> getBigDisasterTwo(String id);

    void addDescribe(List<String> ids, String describe);

    void removeDisasterAss(String id);

    void secendSubmitDisasterAss(List<String> ids);


    List<DisasterAssEntity> getDisasterAssByIaId(String iaId);
}
